package com.xmu.prcs.dao;

import java.util.List;

import com.xmu.prcs.entity.PlantFeature;

/**
 * 
 * @author frequent
 * @version 1.0,2012-3-20
 *
 */
public interface PlantFeatureDao extends GenericDao<PlantFeature>{

	/**
	 * 按featureid得到所有plantFeature
	 * @param featureIds
	 * @return
	 */
	public List<PlantFeature> getByFeatureIds(List<String> featureIds);
	
	/**
	 * 得到性状重要性最高的
	 * @param featureIds
	 * @return
	 */
	public List<PlantFeature> getMostImportantFeature(List<String> featureIds);
	
	/**
	 * 得到不在数值型性状数值范围内的植物
	 * @param featureId
	 * @return
	 */
	public List<PlantFeature> getNotInNumberRange(int featureId, String number);
	
}
